package com.dhcc.dao;

import java.util.List;

import com.dhcc.model.Student;
import com.dhcc.model.Teacher;
import com.dhcc.model.User;
import com.dhcc.model.UserInsert;

public interface UserManagerDao extends BaseDao<User>{

	Student getStudentByUserId(int id);

	List<Student> selectStudent1(int page);

	void upUserInfo(User u);

	void upStudentInfo(Student s);

	User getUserByUserId(int userId);

	List<Teacher> selectTeacher1(int page);

	void insertTeacher1(UserInsert insert);

	void insertStudent1(UserInsert insert);

}
